package com.ruoyi.project.digital.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.digital.domain.enums.MessageIsLikeEnum;
import com.ruoyi.project.digital.domain.enums.MessageTypeEnum;
import com.ruoyi.project.digital.domain.enums.YesOrNoStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户与宠物的聊天详情对象 t_pet_message_details
 *
 * @author ruoyi
 * @date 2023-11-01
 */
@Data
public class PetMessageDetailsVO
{
    private static final long serialVersionUID = 1L;

    /** 是否已读  0代表未读，1代表已读 */
    @Excel(name = "是否已读  0代表未读，1代表已读")
    @ApiModelProperty("是否已读")
    private YesOrNoStatus isRead;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String content;

    /** 0代表用户，1代表宠物 */
    @Excel(name = "0代表用户，1代表宠物")
    @ApiModelProperty("消息类型")
    private MessageTypeEnum type;

    private MessageIsLikeEnum isLike;


    @ApiModelProperty("图片背景")
    private String backUrl;

    /** 回话id */
    @Excel(name = "回话id")
    @ApiModelProperty("消息id")
    private Long messageId;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;


}
